package com.quanxi.qxaimain.dao.forVue;

import com.quanxi.qxaimain.common.datasource.datasourceAOP.annotation.DataSource;
import com.quanxi.qxaimain.common.datasource.datasourceAOP.enums.DataSourceEnum;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface  userMapper {
    @DataSource(DataSourceEnum.DB1)
    @Select("SELECT * FROM qxzsk_t_user where userid=#{userid}")
    List<Map<String, Object>> find_qxzsk_t_user(@Param("userid") String userid);
}
